<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="UserPermService" output="false" extends="_UserPermService">
	
    <cfset variables.objectInstance = structNew() />
	

	<cffunction name="init" access="public" output="false" returntype="UserPermService">
		<cfargument name="UserPermDAO" type="UserPermDAO" required="true" />
		<cfargument name="UserPermGateway" type="UserPermGateway" required="true" />

		<cfset super.init(arguments.UserPermDAO, arguments.UserPermGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="UserPermGateway">
    	<cfreturn variables.UserPermGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="UserPermDAO">
    	<cfreturn variables.UserPermDAO />
    </cffunction>
</cfcomponent>


